# Doct_V1.0
Virtual Private Server Setup

## HOWTO

```sh

wget -q -O - 'https://raw.githubusercontent.com/cybertize/Doct_V1.0/default/setup.sh'
chmod +x setup.sh && ./setup.sh

```

the easyway to run bash script by doing it this way, by entering this command:

```sh

bash setup.sh

```

**NOTE:** The script will take sometime to complete, please wait for it...

## INFO

| No.  | Packages      | Details                    |
| ---- | :------------ | ------------------------- |
| 01   | dropbear      | 440(TLS), 441(TCP), 442(TCP) |
| 02   | openvpn       | 1194(TCP), 994(UDP), 587(TLS) |
| 03   | squid         | 3128, 8080 & 8000 |
| 03   | stunnel       | 2021(DROPBEAR) & 2022(OPENVPN) |
| 05   | badvpn-udpwgw | 127.0.0.1 7300 |
| 06   | nginx         | 80(HTTP) & 443(HTTPS) |
| 07   | webmin        | 10000(DEFAULT) |
| 08   | fail2ban      | |
| 09   | ddos-deflate  | |
| 10   | iptables      | |

### Plugins | Menu

*plugins is a* __menu__ *to make it easier for:*

| No. | Name     | Details                                 |
| --- | :------- | --------------------------------------- |
| 01  | trial    | Jana akaun percubaan untuk sehari |
| 02  |create    | Buat akaun pengguna untuk sshd & ovpn |
| 03  |renew     | Tambah tempoh masa aktif akaun pengguna |
| 04  |login     | Senaraikan pengguna yang log masuk |
| 05  |lists     | Senaraikan semua akaun pengguna |
| 06  |lock      | Kunci atau nyahdayakan akaun pengguna |
| 07  |unlock    | Buka kunci atau dayakan akaun pengguna |
| 08  |delete    | Padamkan akaun pengguna |
| 09  |dropbear  | Dropbear package service menu |
| 10  |openvpn   | Openvpn package service menu |
| 11  |squid     | Squid package service menu |
| 12  |stunnel   | Stunnel package service menu |
| 13  |detail    | Perincian pelayan |
| 14  |backup    | Data sandaran |
| 15  |restore   | Pulihkan data |
| 16  |speedtest | Uji kelajuan pelayan |
